import { request } from '@/utils/request'
import type { category } from '@/types/category'

export const getGategories = () => {
  return request<category[]>({
    url: 'category/list'
  })
}
